package xj.graph2d.app.project;

import xj.graph2d.SimpleDrawDocument;
import xj.graph2d.app.prop.DocumentPropertyListener;

public class EditProjectItemListener 
  extends DocumentPropertyListener {

  public void setProjectItem(ProjectItem item) {
    this.item = item;
  }

  public SimpleDrawDocument getDocument() { 
    if (item != null) { 
      return item.getDocument();
    }
    return null;
  }

  protected ProjectItem item;

}
